home *** CD-ROM | disk | FTP | other *** search
/ Trusted Irix /B 4.0.4 / Trusted-Irix B-4.0.1.iso / dist / eoe1.idb / usr / include / sys / htport.h.z / htport.h
C/C++ Source or Header  |  1992-04-03  |  841b  |  40 lines

  1. #ifndef __SYS_HTPORT_H__
  2. #define __SYS_HTPORT_H__
  3. #pragma linkage C
  4.  
  5. /*
  6.  * htport.h
  7.  *
  8.  * Header file for host textport.
  9.  */
  10.  
  11. #ident "$Revision: 1.1 $"
  12.  
  13. #if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
  14.  
  15. struct htp_bitmap {
  16.     unsigned short *buf;
  17.     short xsize, ysize;
  18.     short xorig, yorig;
  19.     short xmove, ymove;
  20.     short sper;
  21. };
  22.  
  23. struct htp_fncs {
  24.         void (*init)(void *);
  25.         void (*mapcolor)(void *, int, int, int, int);
  26.         void (*color)(void *, int);
  27.         void (*sboxfi)(void *, int, int, int, int);
  28.         void (*pnt2i)(void *, int, int);
  29.         void (*drawbitmap)(void *, struct htp_bitmap *);
  30.         void (*cmov2i)(void *, int, int);
  31.         void (*unblank)(void *);
  32. };
  33.  
  34. extern int htp_register_board(void *, struct htp_fncs *, int, int);
  35.  
  36. #endif /* C || C++ */
  37.  
  38. #pragma linkage
  39. #endif /* !__SYS_HTPORT_H__ */
  40.